package com.Zbl;

public  abstract class MotoVehicle {

    //车牌号，品牌，颜色，里程
    private  String No,Brand,Color;
    private  int Nileage;


    MotoVehicle() {};

    MotoVehicle(String nNo, String nBrand, String nColor, int nMileage){}

    //用来显示车辆信息
    abstract  void CarObvious();

    //显示车辆信息
    public static void Obvious(MotoVehicle motoVehicle){
        motoVehicle.CarObvious();

    }

    //计算租凭天数
    public abstract Void Calrent(int day);

    public String getNo(){
        return No;
    }
    public void  setNo(String no){
        No = no;

    }

    public String getBrand() {
        return Brand;
    }

    public String getColor() {
        return Color;
    }

    public int getNileage() {
        return Nileage;
    }

    public void setBrand(String brand) {
        Brand = brand;
    }

    public void setColor(String color) {
        Color = color;
    }

    public void setNileage(int nileage) {
        Nileage = nileage;
    }


}
